package com.springboot.java0317springboot.iocdemo;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

/**
 * @author lenovo
 * @Description
 * @Date2025-3-17 21:06
 */
@Component("aira")
@Primary
public class Aira implements Air{
    @Override
    public void cool(){
        System.out.println("空调制冰方法a...");
    }

}
